package com.block.match.service;

import com.block.db.entity.MemberSourceInfo;
import com.block.db.entity.SourceBaseInfo;
import com.block.db.entity.SourceMemberDataInfoTemp;
import com.block.match.model.dto.SourceMatchResultDTO;
import com.block.match.model.dto.SourceRegisterResultDTO;

public interface ISourceMatchHandleService {
    SourceMatchResultDTO toMatchMerchant(SourceBaseInfo sourceBaseInfo, SourceMemberDataInfoTemp dataInfoTemp) throws InterruptedException;

    SourceRegisterResultDTO toPushMerchant(SourceMatchResultDTO resultDTO) throws Exception;

    SourceRegisterResultDTO handleRegisterUser(SourceBaseInfo sourceBaseInfo, SourceMatchResultDTO resultDTO, MemberSourceInfo memberSourceInfo);
}
